/*
DriveTrain.h - Class for controlling the movement of the 2013 Mars Rover
Created by: Matthias Martineau November 3 2013
*/

#ifndef DriveTrain_h
#define DriveTrain_h
#include "Wheel.h"

class DriveTrain{
  public:
  //Constructor takes the number of wheels per side and the number of pieces of information (ex: enablepin, leftwheel pin, right wheel pin => 3 pieces of info)
    DriveTrain(int leftWheels[][PIECES_OF_WHEEL_INFO], int rightWheels [][PIECES_OF_WHEEL_INFO], int numOfWheelsLeft, int numOfWheelsRight);
    void RightForward(int duty);
    void RightBackward(int duty);
    void LeftForward(int duty);
    void LeftBackward(int duty);
	int[] GetAllPins();
  private:
    Wheel _leftSide[], _rightSide[];
	int _numOfWheelsLeft, _numOfWheelsRight;
};

#endif